package com.ftg.learn.chapter11;

/**
 * 大象
 * @author kangjx
 * @createTime 2022/7/29
 */
public class Elephant {

    //开闭原则
    private String color;

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setColor(String  color){
        this.color = color;
    }


    public String getColor(){
        return this.color;
    }

}
